/**
 * @(#)SyncHeatUpdateRequest.java
 *
 * Copyright (c) 2014-2014  苏州犀牛网络科技有限公司 版权所有
 * xiniunet. All rights reserved.
 *
 * This software is the confidential and proprietary
 * information of  xiniunet.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with xiniunet.
 */
package com.showcal.thermalcontrol.request;

import com.xiniunet.framework.base.BaseUpdateRequest;
import com.xiniunet.framework.constant.RegExpConst;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.Date;


/**
 * Created by 顾志雄 on 2015-09-15 13:46:59.
 * @author 顾志雄
 */
public class SyncHeatUpdateRequest extends BaseUpdateRequest {
    
    /**
     * 主键 
     */
    @NotNull(message = "主键不能为空")
    private  Long   id;
    
    /**
     * 餐次 
     */
    
    private  Long   mealsId;
    
    /**
     * 食物热量 
     */
    
    private  Double   totalHeat;
    
    /**
     * 蛋白质(克) 
     */
    
    private  Double   totalProtein;
    
    /**
     * 脂肪（克） 
     */
    
    private  Double   totalFat;
    
    /**
     * 碳水化合物（克） 
     */
    
    private  Double   totalCarbohydrate;
    
    /**
     * 膳食纤维（克） 
     */
    
    private  Double   totalDf;
    
    /**
     * 实际评分值 
     */
    
    private  Double   grade;
    
    /**
     * 是否同步完成 
     */
    
    private  Boolean   isSynced;

    /**
     * 目标热量
     */

    private  Double   goalHeat;

    /**
     * 当餐目标蛋白质
     */

    private  Double   goalProtein;

    /**
     * 目标脂肪
     */

    private  Double   goalFat;

    /**
     * 目标碳水化合物
     */

    private  Double   goalCarbohydrate;

    /**
     * 目标膳食纤维
     */

    private  Double   goalDf;

    /**
     * 类型 1=拍照上传，2=食物选择上传
     */

    @Length(min=0, max=50, message = "类型长度不合法")
    private  String   type;

    /**
     * 描述
     */

    @Length(min=0, max=500, message = "描述长度不合法")
    private  String   desc;

    /**
     * 是否已评论 1=已评论，0=未评论
     */

    @Length(min=0, max=50, message = "是否已评论长度不合法")
    private  String   isComment;

    /**
     * 当前餐次计数 当前餐次计数
     */

    private  Integer   currentMealCount;
    
    public Long getId() {
    return this.id;
    }

    public void setId(Long  id) {
    this.id = id;
    }
    
    public Long getMealsId() {
    return this.mealsId;
    }

    public void setMealsId(Long  mealsId) {
    this.mealsId = mealsId;
    }
    
    public Double getTotalHeat() {
    return this.totalHeat;
    }

    public void setTotalHeat(Double  totalHeat) {
    this.totalHeat = totalHeat;
    }
    
    public Double getTotalProtein() {
    return this.totalProtein;
    }

    public void setTotalProtein(Double  totalProtein) {
    this.totalProtein = totalProtein;
    }
    
    public Double getTotalFat() {
    return this.totalFat;
    }

    public void setTotalFat(Double  totalFat) {
    this.totalFat = totalFat;
    }
    
    public Double getTotalCarbohydrate() {
    return this.totalCarbohydrate;
    }

    public void setTotalCarbohydrate(Double  totalCarbohydrate) {
    this.totalCarbohydrate = totalCarbohydrate;
    }
    
    public Double getTotalDf() {
    return this.totalDf;
    }

    public void setTotalDf(Double  totalDf) {
    this.totalDf = totalDf;
    }
    
    public Double getGrade() {
    return this.grade;
    }

    public void setGrade(Double  grade) {
    this.grade = grade;
    }
    
    public Boolean getIsSynced() {
    return this.isSynced;
    }

    public void setIsSynced(Boolean  isSynced) {
    this.isSynced = isSynced;
    }

    public Double getGoalHeat() {
        return goalHeat;
    }

    public void setGoalHeat(Double goalHeat) {
        this.goalHeat = goalHeat;
    }

    public Double getGoalProtein() {
        return goalProtein;
    }

    public void setGoalProtein(Double goalProtein) {
        this.goalProtein = goalProtein;
    }

    public Double getGoalFat() {
        return goalFat;
    }

    public void setGoalFat(Double goalFat) {
        this.goalFat = goalFat;
    }

    public Double getGoalCarbohydrate() {
        return goalCarbohydrate;
    }

    public void setGoalCarbohydrate(Double goalCarbohydrate) {
        this.goalCarbohydrate = goalCarbohydrate;
    }

    public Double getGoalDf() {
        return goalDf;
    }

    public void setGoalDf(Double goalDf) {
        this.goalDf = goalDf;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getIsComment() {
        return isComment;
    }

    public void setIsComment(String isComment) {
        this.isComment = isComment;
    }

    public Integer getCurrentMealCount() {
        return currentMealCount;
    }

    public void setCurrentMealCount(Integer currentMealCount) {
        this.currentMealCount = currentMealCount;
    }
}
